//=============================================================================
// PlasmaGunAttachment.
//=============================================================================
class PlasmaGunAttachment extends xWeaponAttachment;

var PlasmaMuzFlashProj3rd MuzFlash3rd;
//var int Links;




simulated event ThirdPersonEffects()
{
    local Rotator R;

    if ( Level.NetMode != NM_DedicatedServer && FlashCount > 0 )
    {
        if (MuzFlash3rd == None)
        {
            MuzFlash3rd = Spawn(class'PlasmaMuzFlashProj3rd');
            MuzFlash3rd.bHidden = false;
            AttachToBone(MuzFlash3rd, 'tip');
        }
        if (MuzFlash3rd != None)
        {
            R.Roll = Rand(65536);
            SetBoneRotation('Bone_Flash', R, 0, 1.0);
            MuzFlash3rd.mStartParticles++;
        }
    }

    Super.ThirdPersonEffects();
}

defaultproperties
{
     bRapidFire=True
     Mesh=SkeletalMesh'Weapons.LinkGun_3rd'
     RelativeLocation=(X=15.000000,Y=-5.000000,Z=-7.000000)
     Skins(0)=Combiner'TFMedia.PlasmaGun.PlasmaGunCombiner1'
}
